

project(qbtools)

find_package(Qt5 COMPONENTS Core REQUIRED)
source_group_by_dir(SRCS)

file(GLOB_RECURSE SRCS CONFIGURE_DEPENDS ./*.cpp)

add_library(${PROJECT_NAME} SHARED
     ${SRCS}
)

target_compile_options(${PROJECT_NAME} PRIVATE -DS_TOOL_DLL)
target_link_libraries(${PROJECT_NAME} PRIVATE Qt::Core qbprotocol qbkernel core)